package com.suliao.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.suliao.common.base.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author： M1nG-CodeGenerator
 * @since： 2020-09-14 15:37:23
 * @description： 用户
 * @version： 1.0
 */
@Data
@TableName("sl_user")
public class User extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String userName;

    /**
     * 0男1女
     */
    private Integer userSex;

    private LocalDateTime userToc;


}
